#! /bin/bash

max_id=5

for (( n=0; n<=$max_id; n++ ));
do
    echo "Running test $n ... "
    ./prg$n 
    echo "done"
done